package com.example.librarysysee.service;

import com.example.librarysysee.mapper.UserInfoMapper;
import com.example.librarysysee.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserInfoService {
    @Autowired
    UserInfoMapper userInfoMapper;
    public UserInfo getByName(String userName){
        return userInfoMapper.queryByName(userName);
    }
}
